package com.tianyadu.user.dataobject;

import lombok.Data;
import javax.persistence.Entity;
import javax.persistence.Id;

/**
 * @FileName: UserInfo
 * @Description:
 * @author: xueyj
 * @create: 2018-11-26 18:49
 */
@Data
@Entity
public class UserInfo {

    @Id
    private String id;

    private String username;

    private String password;

    private String openid;

    private Integer role;
}